package com.bw.service;

import com.bw.bean.Gm1;
import com.bw.bean.Gm2;
import com.bw.bean.Gm3;
import com.bw.bean.Gm4;
import com.bw.dao.GmDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GmServiceImpl implements GmService {

    @Autowired
    GmDao dao;

    @Override
    public List<Gm1> list() {
        return dao.list();
    }

    @Override
    public Gm2 list1()
    {
        return dao.list1();
    }

    @Override
    public Gm3 list2() {
        return dao.list2();
    }

    @Override
    public List<Gm4> list3() {
        return dao.list3();
    }
}
